<cfcomponent extends="cf-storm.stormcaller" hint="I am the main stormcaller object based on the testapp_dsn DSN">
	<!---
	CF-STORM - Super Tiny ORM
	Beau Holton
	--->
	
	<cfset variables.appdirectory = "testapp"/>
	<cfset variables.modeldirectory = "testapp.model"/>
	<cfset variables.stormdirectory = "cf-storm"/>
	<cfset variables.dsn = "testapp_dsn"/>
	<cfset variables.objects = StructNew()/>
	
			
	<cfset variables.objects.USER_INFO.pk = "USR_ID"/>
	<cfset variables.objects.USER_INFO.seq = ""/>
	<cfset variables.objects.USER_INFO.attributes = buildAttributes("USR_ID|number|true,USR_LOGIN|char|true,USR_REP_ID|char|false,USR_LAST_ONLINE|date|true,USR_FIRSTNAME|char|true,USR_LASTNAME|char|true,USR_EMAIL|char|true,USR_EXCEPTIONS|number|true")/>
		
	<cfset variables.objects.EXCEPTIONS_STATUSES.pk = "EST_ID"/>
	<cfset variables.objects.EXCEPTIONS_STATUSES.seq = ""/>
	<cfset variables.objects.EXCEPTIONS_STATUSES.attributes = buildAttributes("EST_ID|number|true,EST_STATUS|char|true")/>

	<cfset variables.objects.EXCEPTIONS_TICKETS.pk = "ETT_ID"/>
	<cfset variables.objects.EXCEPTIONS_TICKETS.seq = ""/>
	<cfset variables.objects.EXCEPTIONS_TICKETS.attributes = buildAttributes("ETT_ID|number|true,ETT_ACCOUNT_NUMBER|number|true,ETT_TICKET|char|false,ETT_TELCO_REP|char|false,ETT_OPEN_DATE|date|true,ETT_CLOSE_DATE|date|false,ETT_TICKET_TYPE|number|false,ETT_TICKET_REASON|number|true,ETT_EXCEPTIONS_ID|number|true,ETT_USER|number|true,ETT_CREATE_DATE|date|true")/>
	
	<cfset variables.objects.TICKET_TYPES.pk = "TKT_ID"/>
	<cfset variables.objects.TICKET_TYPES.seq = ""/>
	<cfset variables.objects.TICKET_TYPES.attributes = buildAttributes("TKT_ID|number|true,TKT_TYPE|char|true")/>
	
	<cfset variables.objects.REJECT_REASONS.pk = "RJR_ID"/>
	<cfset variables.objects.REJECT_REASONS.seq = ""/>
	<cfset variables.objects.REJECT_REASONS.attributes = buildAttributes("RJR_ID|number|true,RJR_REASONS|char|true")/>
	
	<cfset variables.objects.APPLICATION_VARS.pk = "APV_NAME"/>
	<cfset variables.objects.APPLICATION_VARS.seq = ""/>
	<cfset variables.objects.APPLICATION_VARS.attributes = buildAttributes("APV_NAME|char|true,APV_VALUE1|char|false,APV_VALUE2|date|false")/>
			
	<cfset variables.objects.ERROR_TYPES.pk = "ERT_ID"/>
	<cfset variables.objects.ERROR_TYPES.seq = ""/>
	<cfset variables.objects.ERROR_TYPES.attributes = buildAttributes("ERT_ID|number|true,ERT_TYPE|char|true,ERT_ORDER|number|true,ERT_ENABLED|char|true,ERT_ORGANIZATION|number|true")/>
	
	<cfset variables.objects.ADDRESSBOOK.pk = "ABK_ID"/>
	<cfset variables.objects.ADDRESSBOOK.seq = ""/>
	<cfset variables.objects.ADDRESSBOOK.attributes = buildAttributes("ABK_ID|number|true,ABK_EMAIL|char|true")/>
		
</cfcomponent>

